package com.ruoyi.system.domain.construction.strategy;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 施工攻略案例说明对象 construction_strategy_case
 * 
 * @author zhangshaocong
 * @date 2020-12-03
 */
public class ConstructionStrategyCase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 案例说明ID */
    private Long strategyCaseId;

    /** 案例ID */
    @Excel(name = "案例ID")
    private Long strategyDetailId;

    /** 案例说明内容 */
    @Excel(name = "案例说明内容")
    private String strategyCaseText;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    private ConstructionStrategyDetail strategyDetail;

    public void setStrategyCaseId(Long strategyCaseId) 
    {
        this.strategyCaseId = strategyCaseId;
    }

    public Long getStrategyCaseId() 
    {
        return strategyCaseId;
    }
    public void setStrategyDetailId(Long strategyDetailId) 
    {
        this.strategyDetailId = strategyDetailId;
    }

    public Long getStrategyDetailId() 
    {
        return strategyDetailId;
    }
    public void setStrategyCaseText(String strategyCaseText) 
    {
        this.strategyCaseText = strategyCaseText;
    }

    public String getStrategyCaseText() 
    {
        return strategyCaseText;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }

    public ConstructionStrategyDetail getStrategyDetail() {
        return strategyDetail;
    }

    public void setStrategyDetail(ConstructionStrategyDetail strategyDetail) {
        this.strategyDetail = strategyDetail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("strategyCaseId", getStrategyCaseId())
            .append("strategyDetailId", getStrategyDetailId())
            .append("strategyCaseText", getStrategyCaseText())
            .append("modifiedTime", getModifiedTime())
            .toString();
    }
}
